package ca.qc.bdeb.info.pp2.tp2.application;

import org.hibernate.Session;

public class ContacterAgentDAO
{
    public void ecrireContacterAgent(ContacterAgent c)
    {
        Session session = HibernateUtil.getSessionFactory().getCurrentSession();
        session.beginTransaction();
        session.save(c);
        session.getTransaction().commit();
    }
}
